Optimal. Leaf size=140 \[ -\frac {5}{16 x}+\frac {1}{8 x \left (2+3 x^4\right )}+\frac {5 \sqrt [4]{3} \tan ^{-1}\left (1-\sqrt [4]{6} x\right )}{32\ 2^{3/4}}-\frac {5 \sqrt [4]{3} \tan ^{-1}\left (1+\sqrt [4]{6} x\right )}{32\ 2^{3/4}}-\frac {5 \sqrt [4]{3} \log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{64\ 2^{3/4}}+\frac {5 \sqrt [4]{3} \log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{64\ 2^{3/4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 140, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 8, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.615, Rules used = {296, 331, 303,
1176, 631, 210, 1179, 642} \begin {gather*} \frac {5 \sqrt [4]{3} \text {ArcTan}\left (1-\sqrt [4]{6} x\right )}{32\ 2^{3/4}}-\frac {5 \sqrt [4]{3} \text {ArcTan}\left (\sqrt [4]{6} x+1\right )}{32\ 2^{3/4}}+\frac {1}{8 x \left (3 x^4+2\right )}-\frac {5 \sqrt [4]{3} \log \left (3 x^2-6^{3/4} x+\sqrt {6}\right )}{64\ 2^{3/4}}+\frac {5 \sqrt [4]{3} \log \left (3 x^2+6^{3/4} x+\sqrt {6}\right )}{64\ 2^{3/4}}-\frac {5}{16 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 296
Rule 303
Rule 331
Rule 631
Rule 642
Rule 1176
Rule 1179
Rubi steps
\begin {align*} \int \frac {1}{x^2 \left (2+3 x^4\right )^2} \, dx &=\frac {1}{8 x \left (2+3 x^4\right )}+\frac {5}{8} \int \frac {1}{x^2 \left (2+3 x^4\right )} \, dx\\ &=-\frac {5}{16 x}+\frac {1}{8 x \left (2+3 x^4\right )}-\frac {15}{16} \int \frac {x^2}{2+3 x^4} \, dx\\ &=-\frac {5}{16 x}+\frac {1}{8 x \left (2+3 x^4\right )}+\frac {1}{32} \left (5 \sqrt {3}\right ) \int \frac {\sqrt {2}-\sqrt {3} x^2}{2+3 x^4} \, dx-\frac {1}{32} \left (5 \sqrt {3}\right ) \int \frac {\sqrt {2}+\sqrt {3} x^2}{2+3 x^4} \, dx\\ &=-\frac {5}{16 x}+\frac {1}{8 x \left (2+3 x^4\right )}-\frac {5}{64} \int \frac {1}{\sqrt {\frac {2}{3}}-\frac {2^{3/4} x}{\sqrt [4]{3}}+x^2} \, dx-\frac {5}{64} \int \frac {1}{\sqrt {\frac {2}{3}}+\frac {2^{3/4} x}{\sqrt [4]{3}}+x^2} \, dx-\frac {\left (5 \sqrt [4]{3}\right ) \int \frac {\frac {2^{3/4}}{\sqrt [4]{3}}+2 x}{-\sqrt {\frac {2}{3}}-\frac {2^{3/4} x}{\sqrt [4]{3}}-x^2} \, dx}{64\ 2^{3/4}}-\frac {\left (5 \sqrt [4]{3}\right ) \int \frac {\frac {2^{3/4}}{\sqrt [4]{3}}-2 x}{-\sqrt {\frac {2}{3}}+\frac {2^{3/4} x}{\sqrt [4]{3}}-x^2} \, dx}{64\ 2^{3/4}}\\ &=-\frac {5}{16 x}+\frac {1}{8 x \left (2+3 x^4\right )}-\frac {5 \sqrt [4]{3} \log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{64\ 2^{3/4}}+\frac {5 \sqrt [4]{3} \log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{64\ 2^{3/4}}-\frac {\left (5 \sqrt [4]{3}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\sqrt [4]{6} x\right )}{32\ 2^{3/4}}+\frac {\left (5 \sqrt [4]{3}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\sqrt [4]{6} x\right )}{32\ 2^{3/4}}\\ &=-\frac {5}{16 x}+\frac {1}{8 x \left (2+3 x^4\right )}+\frac {5 \sqrt [4]{3} \tan ^{-1}\left (1-\sqrt [4]{6} x\right )}{32\ 2^{3/4}}-\frac {5 \sqrt [4]{3} \tan ^{-1}\left (1+\sqrt [4]{6} x\right )}{32\ 2^{3/4}}-\frac {5 \sqrt [4]{3} \log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{64\ 2^{3/4}}+\frac {5 \sqrt [4]{3} \log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{64\ 2^{3/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 113, normalized size = 0.81 \begin {gather*} \frac {1}{128} \left (-\frac {32}{x}-\frac {24 x^3}{2+3 x^4}+10 \sqrt [4]{6} \tan ^{-1}\left (1-\sqrt [4]{6} x\right )-10 \sqrt [4]{6} \tan ^{-1}\left (1+\sqrt [4]{6} x\right )-5 \sqrt [4]{6} \log \left (2-2 \sqrt [4]{6} x+\sqrt {6} x^2\right )+5 \sqrt [4]{6} \log \left (2+2 \sqrt [4]{6} x+\sqrt {6} x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 111, normalized size = 0.79
method | result | size |
risch | \(\frac {-\frac {15 x^{4}}{16}-\frac {1}{2}}{x \left (3 x^{4}+2\right )}+\frac {15 \left (\munderset {\textit {\_R} =\RootOf \left (54 \textit {\_Z}^{4}+1\right )}{\sum }\textit {\_R} \ln \left (-18 \textit {\_R}^{3}+x \right )\right )}{64}\) | \(46\) |
default | \(-\frac {1}{4 x}-\frac {x^{3}}{16 \left (x^{4}+\frac {2}{3}\right )}-\frac {5 \sqrt {3}\, 6^{\frac {3}{4}} \sqrt {2}\, \left (\ln \left (\frac {x^{2}-\frac {\sqrt {3}\, 6^{\frac {1}{4}} x \sqrt {2}}{3}+\frac {\sqrt {6}}{3}}{x^{2}+\frac {\sqrt {3}\, 6^{\frac {1}{4}} x \sqrt {2}}{3}+\frac {\sqrt {6}}{3}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {3}\, 6^{\frac {3}{4}} x}{6}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {3}\, 6^{\frac {3}{4}} x}{6}-1\right )\right )}{768}\) | \(111\) |
meijerg | \(\frac {2^{\frac {3}{4}} 3^{\frac {1}{4}} \left (-\frac {4 \,2^{\frac {1}{4}} 3^{\frac {3}{4}} \left (\frac {15 x^{4}}{2}+4\right )}{3 x \left (6 x^{4}+4\right )}-\frac {5 x^{3} 2^{\frac {1}{4}} 3^{\frac {3}{4}} \left (\frac {2^{\frac {1}{4}} 27^{\frac {3}{4}} \ln \left (1-6^{\frac {1}{4}} \left (x^{4}\right )^{\frac {1}{4}}+\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {x^{4}}}{2}\right )}{27 \left (x^{4}\right )^{\frac {3}{4}}}+\frac {2 \,2^{\frac {1}{4}} 27^{\frac {3}{4}} \arctan \left (\frac {3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}{8-3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}\right )}{27 \left (x^{4}\right )^{\frac {3}{4}}}-\frac {2^{\frac {1}{4}} 27^{\frac {3}{4}} \ln \left (1+6^{\frac {1}{4}} \left (x^{4}\right )^{\frac {1}{4}}+\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {x^{4}}}{2}\right )}{27 \left (x^{4}\right )^{\frac {3}{4}}}+\frac {2 \,2^{\frac {1}{4}} 27^{\frac {3}{4}} \arctan \left (\frac {3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}{8+3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}\right )}{27 \left (x^{4}\right )^{\frac {3}{4}}}\right )}{8}\right )}{32}\) | \(214\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 141, normalized size = 1.01 \begin {gather*} -\frac {5}{64} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \arctan \left (\frac {1}{6} \cdot 3^{\frac {3}{4}} 2^{\frac {1}{4}} {\left (2 \, \sqrt {3} x + 3^{\frac {1}{4}} 2^{\frac {3}{4}}\right )}\right ) - \frac {5}{64} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \arctan \left (\frac {1}{6} \cdot 3^{\frac {3}{4}} 2^{\frac {1}{4}} {\left (2 \, \sqrt {3} x - 3^{\frac {1}{4}} 2^{\frac {3}{4}}\right )}\right ) + \frac {5}{128} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \log \left (\sqrt {3} x^{2} + 3^{\frac {1}{4}} 2^{\frac {3}{4}} x + \sqrt {2}\right ) - \frac {5}{128} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \log \left (\sqrt {3} x^{2} - 3^{\frac {1}{4}} 2^{\frac {3}{4}} x + \sqrt {2}\right ) - \frac {15 \, x^{4} + 8}{16 \, {\left (3 \, x^{5} + 2 \, x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 226 vs.
\(2 (99) = 198\).
time = 0.37, size = 226, normalized size = 1.61 \begin {gather*} -\frac {120 \, x^{4} - 20 \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} {\left (3 \, x^{5} + 2 \, x\right )} \arctan \left (-3^{\frac {1}{4}} 2^{\frac {1}{4}} x + \frac {1}{3} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \sqrt {3 \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} x + 9 \, x^{2} + 3 \, \sqrt {3} \sqrt {2}} - 1\right ) - 20 \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} {\left (3 \, x^{5} + 2 \, x\right )} \arctan \left (-3^{\frac {1}{4}} 2^{\frac {1}{4}} x + \frac {1}{3} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \sqrt {-3 \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} x + 9 \, x^{2} + 3 \, \sqrt {3} \sqrt {2}} + 1\right ) - 5 \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} {\left (3 \, x^{5} + 2 \, x\right )} \log \left (3 \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} x + 9 \, x^{2} + 3 \, \sqrt {3} \sqrt {2}\right ) + 5 \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} {\left (3 \, x^{5} + 2 \, x\right )} \log \left (-3 \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} x + 9 \, x^{2} + 3 \, \sqrt {3} \sqrt {2}\right ) + 64}{128 \, {\left (3 \, x^{5} + 2 \, x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.20, size = 110, normalized size = 0.79 \begin {gather*} \frac {- 15 x^{4} - 8}{48 x^{5} + 32 x} - \frac {5 \cdot \sqrt [4]{6} \log {\left (x^{2} - \frac {6^{\frac {3}{4}} x}{3} + \frac {\sqrt {6}}{3} \right )}}{128} + \frac {5 \cdot \sqrt [4]{6} \log {\left (x^{2} + \frac {6^{\frac {3}{4}} x}{3} + \frac {\sqrt {6}}{3} \right )}}{128} - \frac {5 \cdot \sqrt [4]{6} \operatorname {atan}{\left (\sqrt [4]{6} x - 1 \right )}}{64} - \frac {5 \cdot \sqrt [4]{6} \operatorname {atan}{\left (\sqrt [4]{6} x + 1 \right )}}{64} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 115, normalized size = 0.82 \begin {gather*} -\frac {5}{64} \cdot 6^{\frac {1}{4}} \arctan \left (\frac {3}{4} \, \sqrt {2} \left (\frac {2}{3}\right )^{\frac {3}{4}} {\left (2 \, x + \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}}\right )}\right ) - \frac {5}{64} \cdot 6^{\frac {1}{4}} \arctan \left (\frac {3}{4} \, \sqrt {2} \left (\frac {2}{3}\right )^{\frac {3}{4}} {\left (2 \, x - \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}}\right )}\right ) + \frac {5}{128} \cdot 6^{\frac {1}{4}} \log \left (x^{2} + \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}} x + \sqrt {\frac {2}{3}}\right ) - \frac {5}{128} \cdot 6^{\frac {1}{4}} \log \left (x^{2} - \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}} x + \sqrt {\frac {2}{3}}\right ) - \frac {15 \, x^{4} + 8}{16 \, {\left (3 \, x^{5} + 2 \, x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.10, size = 51, normalized size = 0.36 \begin {gather*} -\frac {\frac {5\,x^4}{16}+\frac {1}{6}}{x^5+\frac {2\,x}{3}}+6^{1/4}\,\mathrm {atan}\left (6^{1/4}\,x\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (-\frac {5}{64}+\frac {5}{64}{}\mathrm {i}\right )+6^{1/4}\,\mathrm {atan}\left (6^{1/4}\,x\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (-\frac {5}{64}-\frac {5}{64}{}\mathrm {i}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________